/* ==========================================================
   Revas Tech — Futuristic Tech Startup Landing Page
   Colors: neon green (#7FFF00), white, black
   ========================================================== */

:root {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --card: #141414;
  --text: #ffffff;
  --muted: #a3a3a3;
  --border: #2a2a2a;
  --accent: #7FFF00;
  --accent-glow: rgba(127, 255, 0, 0.4);
  --accent-soft: rgba(127, 255, 0, 0.1);
  --radius: 12px;
  --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; }

p { color: var(--muted); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.accent { color: var(--accent); }
.neon { text-shadow: 0 0 10px var(--accent-glow), 0 0 20px rgba(127, 255, 0, 0.3); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: 640px; }

.section { padding: 6rem 0; position: relative; }
.section-gradient {
  background: linear-gradient(180deg, #000 0%, #0a0a0a 50%, #000 100%);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-header p { margin-top: 1rem; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}
.glow-1 { width: 400px; height: 400px; background: var(--accent-soft); top: 15%; left: 10%; }
.glow-2 { width: 300px; height: 300px; background: var(--accent-soft); bottom: 15%; right: 10%; animation-delay: 2s; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}
.hero-left, .hero-right { flex: 1; }
.hero-left h1 { margin-bottom: 1.5rem; }
.hero-left p { margin-bottom: 2rem; max-width: 560px; font-size: 1.05rem; }

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px var(--accent-glow);
}
.btn-block { width: 100%; padding: 1.1rem; }

.image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.image-wrapper::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: var(--accent-soft);
  filter: blur(40px);
  z-index: -1;
  border-radius: var(--radius);
}
.image-wrapper img {
  width: 100%;
  border-radius: var(--radius);
  transition: transform 0.6s ease;
}
.image-wrapper:hover img { transform: scale(1.03); }

/* ============ TWO-COL ============ */
.two-col {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.two-col .col { flex: 1; }
.two-col h2 { margin-bottom: 1.5rem; }
.two-col p + p { margin-top: 1rem; }

.label {
  margin-top: 1.5rem;
  color: var(--text) !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  padding: 0.35rem 0;
}
.bullet-list li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.check-list { margin-top: 1.5rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  padding: 0.4rem 0;
}
.check-list li::before {
  content: "✓";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ============ SERVICE CARDS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(127, 255, 0, 0.15);
  border-color: rgba(127, 255, 0, 0.3);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover img { transform: scale(1.08); }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { font-size: 0.9rem; }

/* ============ MINI CARDS (cloud + impact) ============ */
.cloud-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.mini-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(127, 255, 0, 0.12);
  border-color: rgba(127, 255, 0, 0.25);
}
.mini-card h3 { margin-bottom: 0.25rem; }
.mini-card .subtitle {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.mini-card p { font-size: 0.9rem; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.impact-grid .mini-card { padding: 2rem; }
.impact-grid h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* ============ CONTACT FORM ============ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}
.footer p { font-size: 0.9rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-container,
  .two-col { flex-direction: column; }
  .hero-right { width: 100%; max-width: 500px; margin: 0 auto; }
  .cloud-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.75rem 0; }
  .section { padding: 4rem 0; }
  .hero { padding: 7rem 0 3rem; }
}

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
